package com.lizhi.yun.sync.rsz.controller;/**
 * @program: hbsf_yun
 * @name RszPatientSyncController
 * @description:
 * @author: lizhi
 * @create: 2021-11-10 09:25
 */

import com.lizhi.yun.sync.rsz.handler.RszPatientSyncHandler;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *@program: hbsf_yun
 *@name RszPatientSyncController
 *@description:
 *@author: lizhi
 *@create: 2021-11-10 09:25
 */
@RestController
@RequestMapping(value = "/api/sync/patient")
public class RszPatientSyncController {

    @Resource
    private RszPatientSyncHandler rszPatientSyncHandler;

    @PostMapping(path = "/recv")
    public String recv(@RequestBody String json){
        return rszPatientSyncHandler.recv(json);
    }
}
